package com.frank.oj.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.frank.model.entity.problem.Problem;
import com.frank.oj.model.vo.ProblemVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author frank
 * @Date 2024/5/4
 */
@Mapper
public interface GroupProblemMapper {
    List<ProblemVO> getProblemList(IPage<ProblemVO> iPage, @Param("gid") Long gid);

    List<Problem> getAdminProblemList(IPage<Problem> iPage, @Param("gid") Long gid);
}
